{% extends "bets/base_site.html" %}
{% load i18n admin_static %}
{% load url from future %}

{% block branding %}
<h1 id="site-name">{% trans 'Registration' %}</h1>
{% endblock %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "bets/css/register.css" %}" />{% endblock %}

{% block content_title %}<h1>Create an account</h1>{% endblock %}

{% block content %}
<div style="height: 20px; margin-top:100px; margin-left: 523px;">
	{% if error_msg %}
		<p style="color: red;"><strong>{{ error_msg }}</strong></p>
	{% endif %}
</div>
<table style="height: 100%; width: 100%;margin-top: 10px; margin-left: 400px;">
	<tr>
		<td>
			<div id="register_form">
			  <form action="" method="post">{% csrf_token %}
			      {{ form.as_ul }}
			      <input type="submit" value="Create the account">
			  </form>
			</div>
		</td>
	</tr>
</table>  
{% endblock %}
